package com.ruoyi.merchant.domain.dto;
import lombok.Data;

import javax.validation.constraints.DecimalMax;
import javax.validation.constraints.DecimalMin;
import java.math.BigDecimal;

/**
 * 更新门店信息DTO
 */
@Data

public class UpdateShopInfoDTO {

    //店铺名称
    private String merchantName;

    //"店铺地址"
    private String address;

    //纬度
    @DecimalMin(value = "-90.0", message = "纬度范围为-90到90")
    @DecimalMax(value = "90.0", message = "纬度范围为-90到90")
    private BigDecimal latitude;

    //经度"
    @DecimalMin(value = "-180.0", message = "经度范围为-180到180")
    @DecimalMax(value = "180.0", message = "经度范围为-180到180")
    private BigDecimal longitude;

    //营业执照URL"
    private String businessLicense;

    //食品经营许可证URL"
    private String foodLicense;
}
